import { request } from '@umijs/max';

// 分类查询销量top20

export async function category(begin: string,end:string) {
    return request(`/api/salesData/category`, {
    method: 'POST',
    data: {
         begin,
         end,
      },
  });
}